//
//  BZ_GHS_ComenDetailCell.m
//  penzer
//
//  Created by caiyc on 2018/11/20.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "BZ_GHS_ComenDetailCell.h"
#import "BZ_GHS_DetaiItemView.h"

@interface  BZ_GHS_ComenDetailCell()
@property (weak, nonatomic) IBOutlet UIStackView *stackView;
@end

@implementation BZ_GHS_ComenDetailCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    [self addItem];
}


- (void)addItem
{
    NSArray *sub_titles = @[@"操作类型",@"操作类型",@"操作类型",@"操作类型"];
    NSArray *titles = @[@"操作类型",@"操作类型",@"操作类型",@"操作类型"];
    self.stackView.distribution = UIStackViewDistributionFillEqually;;
    for(int i=0;i<titles.count;i++){
        BZ_GHS_DetaiItemView *comenView = [BZ_GHS_DetaiItemView ShareComenView];
        comenView.title.text = titles[i];
        comenView.subTitle.text = sub_titles[i];
        [self.stackView addArrangedSubview:comenView];
        //  [self.stackVIew addSubview:comenView];
    }
}

@end
